﻿namespace WebApplication1.Models.商品信息.屠宰
{
    /// <summary>
    /// 屠宰实体
    /// </summary>
    [SqlSugar.SugarTable(tableName: "SlaughterModel")]
    public class SlaughterModel
    {
        /// <summary>
        /// 养殖id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "SlaughterId", IsIdentity = true, IsPrimaryKey = true)]
        public int SlaughterId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "RId")]
        public int RId { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "Slaughterbatch")]
        public int Slaughterbatch { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "Slaughterweight")]
        public int Slaughterweight { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "ArrivateTime")]
        public DateTime ArrivateTime { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "SlaughterTime")]
        public DateTime SlaughterTime { get; set; }
    }
}
